import request from '@/utils/request';
/**
* ${classInfo.classComment}Service
* @author ${authorName} ${.now?string('yyyy-MM-dd')}
*/

/** 保存 **/
export async function save(vo) {
	return request('/api/${classInfo.className?lower_case}/save', {
	    method: 'POST',
	    body: vo,
	});
}
/** 删除 **/
export async function deleteById(id) {
  return request(`/api/${classInfo.className?lower_case}/deleteById/${r'${id}'}`);
}

/** 根据ID查询 **/
export async function findById(id) {
  return request(`/api/${classInfo.className?lower_case}/findById/${r'${id}'}`);
}

/** 保存 **/
export async function find(param) {
	return request('/api/${classInfo.className?lower_case}/find', {
	    method: 'POST',
	    body: param,
	});
}